<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Qwt User&#39;s Guide: QwtPlotCanvas Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Qwt User&#39;s Guide
   &#160;<span id="projectnumber">6.2.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('class_qwt_plot_canvas.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-slots">Public Slots</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="class_qwt_plot_canvas-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">QwtPlotCanvas Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Canvas of a <a class="el" href="class_qwt_plot.html" title="A 2-D plotting widget.">QwtPlot</a>.  
 <a href="class_qwt_plot_canvas.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="qwt__plot__canvas_8h_source.html">qwt_plot_canvas.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for QwtPlotCanvas:</div>
<div class="dyncontent">
<div class="center"><iframe scrolling="no" frameborder="0" src="class_qwt_plot_canvas__inherit__graph.svg" width="267" height="112"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe>
</div>
</div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:a76066290edb594a71ee09be564563b0f"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_canvas.html#a76066290edb594a71ee09be564563b0f">PaintAttribute</a> { <a class="el" href="class_qwt_plot_canvas.html#a76066290edb594a71ee09be564563b0fa7b88a46e1414f6d904aa494c89d064f3">BackingStore</a> = 1
, <a class="el" href="class_qwt_plot_canvas.html#a76066290edb594a71ee09be564563b0fa1d10fbb2b1fc3323e8597597684b1f9f">Opaque</a> = 2
, <a class="el" href="class_qwt_plot_canvas.html#a76066290edb594a71ee09be564563b0fa2a2fee2c1807f8306850e15977bacb70">HackStyledBackground</a> = 4
, <a class="el" href="class_qwt_plot_canvas.html#a76066290edb594a71ee09be564563b0fa91fb95b7ec380cc5d517195c2ae6368f">ImmediatePaint</a> = 8
 }</td></tr>
<tr class="memdesc:a76066290edb594a71ee09be564563b0f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Paint attributes.  <a href="class_qwt_plot_canvas.html#a76066290edb594a71ee09be564563b0f">More...</a><br /></td></tr>
<tr class="separator:a76066290edb594a71ee09be564563b0f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a01ad98e778d75e157eaddfa860624565"><td class="memItemLeft" align="right" valign="top">typedef QFlags&lt; <a class="el" href="class_qwt_plot_canvas.html#a76066290edb594a71ee09be564563b0f">PaintAttribute</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_canvas.html#a01ad98e778d75e157eaddfa860624565">PaintAttributes</a></td></tr>
<tr class="separator:a01ad98e778d75e157eaddfa860624565"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_types_class_qwt_plot_abstract_canvas"><td colspan="2" onclick="javascript:toggleInherit('pub_types_class_qwt_plot_abstract_canvas')"><img src="closed.png" alt="-"/>&#160;Public Types inherited from <a class="el" href="class_qwt_plot_abstract_canvas.html">QwtPlotAbstractCanvas</a></td></tr>
<tr class="memitem:af25d84f7db52c78294f0413f2c8e1981 inherit pub_types_class_qwt_plot_abstract_canvas"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_abstract_canvas.html#af25d84f7db52c78294f0413f2c8e1981">FocusIndicator</a> { <a class="el" href="class_qwt_plot_abstract_canvas.html#af25d84f7db52c78294f0413f2c8e1981a071002805f6527e7f110b1c00b758de7">NoFocusIndicator</a>
, <a class="el" href="class_qwt_plot_abstract_canvas.html#af25d84f7db52c78294f0413f2c8e1981af4f3227062ae3588fb2a8650962c4236">CanvasFocusIndicator</a>
, <a class="el" href="class_qwt_plot_abstract_canvas.html#af25d84f7db52c78294f0413f2c8e1981a644c15e4787a6bf488fc2bc5ede912db">ItemFocusIndicator</a>
 }</td></tr>
<tr class="memdesc:af25d84f7db52c78294f0413f2c8e1981"><td class="mdescLeft">&#160;</td><td class="mdescRight">Focus indicator The default setting is NoFocusIndicator.  <a href="class_qwt_plot_abstract_canvas.html#af25d84f7db52c78294f0413f2c8e1981">More...</a><br /></td></tr>
<tr class="separator:af25d84f7db52c78294f0413f2c8e1981 inherit pub_types_class_qwt_plot_abstract_canvas"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-slots"></a>
Public Slots</h2></td></tr>
<tr class="memitem:a1548423348c29001ee2b6fd1c0f9f033"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_canvas.html#a1548423348c29001ee2b6fd1c0f9f033">replot</a> ()</td></tr>
<tr class="separator:a1548423348c29001ee2b6fd1c0f9f033"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a8b0cd76cd283f8f35331dfc7543cbf89"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_canvas.html#a8b0cd76cd283f8f35331dfc7543cbf89">QwtPlotCanvas</a> (<a class="el" href="class_qwt_plot.html">QwtPlot</a> *=NULL)</td></tr>
<tr class="memdesc:a8b0cd76cd283f8f35331dfc7543cbf89"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor.  <a href="class_qwt_plot_canvas.html#a8b0cd76cd283f8f35331dfc7543cbf89">More...</a><br /></td></tr>
<tr class="separator:a8b0cd76cd283f8f35331dfc7543cbf89"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a320320bbb1b511c0c37fb2452a7f4404"><td class="memItemLeft" align="right" valign="top"><a id="a320320bbb1b511c0c37fb2452a7f4404"></a>
virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_canvas.html#a320320bbb1b511c0c37fb2452a7f4404">~QwtPlotCanvas</a> ()</td></tr>
<tr class="memdesc:a320320bbb1b511c0c37fb2452a7f4404"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor. <br /></td></tr>
<tr class="separator:a320320bbb1b511c0c37fb2452a7f4404"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7859beb87bcef4fd53f99e7c87104e27"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_canvas.html#a7859beb87bcef4fd53f99e7c87104e27">setPaintAttribute</a> (<a class="el" href="class_qwt_plot_canvas.html#a76066290edb594a71ee09be564563b0f">PaintAttribute</a>, bool on=true)</td></tr>
<tr class="memdesc:a7859beb87bcef4fd53f99e7c87104e27"><td class="mdescLeft">&#160;</td><td class="mdescRight">Changing the paint attributes.  <a href="class_qwt_plot_canvas.html#a7859beb87bcef4fd53f99e7c87104e27">More...</a><br /></td></tr>
<tr class="separator:a7859beb87bcef4fd53f99e7c87104e27"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3dc8278bd9ce9b9d801706d61e139baf"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_canvas.html#a3dc8278bd9ce9b9d801706d61e139baf">testPaintAttribute</a> (<a class="el" href="class_qwt_plot_canvas.html#a76066290edb594a71ee09be564563b0f">PaintAttribute</a>) const</td></tr>
<tr class="separator:a3dc8278bd9ce9b9d801706d61e139baf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac656d1b06a71a416a39287a612e15bc5"><td class="memItemLeft" align="right" valign="top">const QPixmap *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_canvas.html#ac656d1b06a71a416a39287a612e15bc5">backingStore</a> () const</td></tr>
<tr class="separator:ac656d1b06a71a416a39287a612e15bc5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adafbfa908b2d3b6cf9c20aa6cf9abe27"><td class="memItemLeft" align="right" valign="top"><a id="adafbfa908b2d3b6cf9c20aa6cf9abe27"></a>
Q_INVOKABLE void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_canvas.html#adafbfa908b2d3b6cf9c20aa6cf9abe27">invalidateBackingStore</a> ()</td></tr>
<tr class="memdesc:adafbfa908b2d3b6cf9c20aa6cf9abe27"><td class="mdescLeft">&#160;</td><td class="mdescRight">Invalidate the internal backing store. <br /></td></tr>
<tr class="separator:adafbfa908b2d3b6cf9c20aa6cf9abe27"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab688a1ea4be29806793914bd2f70b0c3"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_canvas.html#ab688a1ea4be29806793914bd2f70b0c3">event</a> (QEvent *) override</td></tr>
<tr class="separator:ab688a1ea4be29806793914bd2f70b0c3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af21afcc5f858ab70afb589b32c856ca1"><td class="memItemLeft" align="right" valign="top">Q_INVOKABLE QPainterPath&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_canvas.html#af21afcc5f858ab70afb589b32c856ca1">borderPath</a> (const QRect &amp;) const</td></tr>
<tr class="separator:af21afcc5f858ab70afb589b32c856ca1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_qwt_plot_abstract_canvas"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_qwt_plot_abstract_canvas')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="class_qwt_plot_abstract_canvas.html">QwtPlotAbstractCanvas</a></td></tr>
<tr class="memitem:aa3c4bffad9a91993af7e868ec953ca4b inherit pub_methods_class_qwt_plot_abstract_canvas"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_abstract_canvas.html#aa3c4bffad9a91993af7e868ec953ca4b">QwtPlotAbstractCanvas</a> (QWidget *<a class="el" href="class_qwt_plot_abstract_canvas.html#abc7038a26849383306f0965fde6ead62">canvasWidget</a>)</td></tr>
<tr class="memdesc:aa3c4bffad9a91993af7e868ec953ca4b inherit pub_methods_class_qwt_plot_abstract_canvas"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor.  <a href="class_qwt_plot_abstract_canvas.html#aa3c4bffad9a91993af7e868ec953ca4b">More...</a><br /></td></tr>
<tr class="separator:aa3c4bffad9a91993af7e868ec953ca4b inherit pub_methods_class_qwt_plot_abstract_canvas"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a46f3b6b4aaa8894ed61af7af4a50eeb7 inherit pub_methods_class_qwt_plot_abstract_canvas"><td class="memItemLeft" align="right" valign="top"><a id="a46f3b6b4aaa8894ed61af7af4a50eeb7"></a>
virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_abstract_canvas.html#a46f3b6b4aaa8894ed61af7af4a50eeb7">~QwtPlotAbstractCanvas</a> ()</td></tr>
<tr class="memdesc:a46f3b6b4aaa8894ed61af7af4a50eeb7 inherit pub_methods_class_qwt_plot_abstract_canvas"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor. <br /></td></tr>
<tr class="separator:a46f3b6b4aaa8894ed61af7af4a50eeb7 inherit pub_methods_class_qwt_plot_abstract_canvas"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a10e97dd727e348c4db9da0959ff6df1b inherit pub_methods_class_qwt_plot_abstract_canvas"><td class="memItemLeft" align="right" valign="top"><a id="a10e97dd727e348c4db9da0959ff6df1b"></a>
<a class="el" href="class_qwt_plot.html">QwtPlot</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_abstract_canvas.html#a10e97dd727e348c4db9da0959ff6df1b">plot</a> ()</td></tr>
<tr class="memdesc:a10e97dd727e348c4db9da0959ff6df1b inherit pub_methods_class_qwt_plot_abstract_canvas"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return parent plot widget. <br /></td></tr>
<tr class="separator:a10e97dd727e348c4db9da0959ff6df1b inherit pub_methods_class_qwt_plot_abstract_canvas"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a626a55bf373591b92cbf74276be25a2b inherit pub_methods_class_qwt_plot_abstract_canvas"><td class="memItemLeft" align="right" valign="top"><a id="a626a55bf373591b92cbf74276be25a2b"></a>
const <a class="el" href="class_qwt_plot.html">QwtPlot</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_abstract_canvas.html#a626a55bf373591b92cbf74276be25a2b">plot</a> () const</td></tr>
<tr class="memdesc:a626a55bf373591b92cbf74276be25a2b inherit pub_methods_class_qwt_plot_abstract_canvas"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return parent plot widget. <br /></td></tr>
<tr class="separator:a626a55bf373591b92cbf74276be25a2b inherit pub_methods_class_qwt_plot_abstract_canvas"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3a495da46835c4e2d38b90c791903bb7 inherit pub_methods_class_qwt_plot_abstract_canvas"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_abstract_canvas.html#a3a495da46835c4e2d38b90c791903bb7">setFocusIndicator</a> (<a class="el" href="class_qwt_plot_abstract_canvas.html#af25d84f7db52c78294f0413f2c8e1981">FocusIndicator</a>)</td></tr>
<tr class="separator:a3a495da46835c4e2d38b90c791903bb7 inherit pub_methods_class_qwt_plot_abstract_canvas"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a495fd02cb4d3bef4bb34191db1f5d08c inherit pub_methods_class_qwt_plot_abstract_canvas"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_qwt_plot_abstract_canvas.html#af25d84f7db52c78294f0413f2c8e1981">FocusIndicator</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_abstract_canvas.html#a495fd02cb4d3bef4bb34191db1f5d08c">focusIndicator</a> () const</td></tr>
<tr class="separator:a495fd02cb4d3bef4bb34191db1f5d08c inherit pub_methods_class_qwt_plot_abstract_canvas"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae0422767eac9e6d088dcccc847cf5c1a inherit pub_methods_class_qwt_plot_abstract_canvas"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_abstract_canvas.html#ae0422767eac9e6d088dcccc847cf5c1a">setBorderRadius</a> (double)</td></tr>
<tr class="separator:ae0422767eac9e6d088dcccc847cf5c1a inherit pub_methods_class_qwt_plot_abstract_canvas"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a77c7d64477d23aedc75b866e5a9940c2 inherit pub_methods_class_qwt_plot_abstract_canvas"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_abstract_canvas.html#a77c7d64477d23aedc75b866e5a9940c2">borderRadius</a> () const</td></tr>
<tr class="separator:a77c7d64477d23aedc75b866e5a9940c2 inherit pub_methods_class_qwt_plot_abstract_canvas"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:a0c76b4c157440e04d582776944fa63fd"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_canvas.html#a0c76b4c157440e04d582776944fa63fd">paintEvent</a> (QPaintEvent *) override</td></tr>
<tr class="separator:a0c76b4c157440e04d582776944fa63fd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a801c9beb7def26a1e51df50818e3fc45"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_canvas.html#a801c9beb7def26a1e51df50818e3fc45">resizeEvent</a> (QResizeEvent *) override</td></tr>
<tr class="separator:a801c9beb7def26a1e51df50818e3fc45"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae00ca15406e898458ebab345e9618248"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_canvas.html#ae00ca15406e898458ebab345e9618248">drawBorder</a> (QPainter *) override</td></tr>
<tr class="separator:ae00ca15406e898458ebab345e9618248"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_methods_class_qwt_plot_abstract_canvas"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_class_qwt_plot_abstract_canvas')"><img src="closed.png" alt="-"/>&#160;Protected Member Functions inherited from <a class="el" href="class_qwt_plot_abstract_canvas.html">QwtPlotAbstractCanvas</a></td></tr>
<tr class="memitem:abc7038a26849383306f0965fde6ead62 inherit pro_methods_class_qwt_plot_abstract_canvas"><td class="memItemLeft" align="right" valign="top">QWidget *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_abstract_canvas.html#abc7038a26849383306f0965fde6ead62">canvasWidget</a> ()</td></tr>
<tr class="separator:abc7038a26849383306f0965fde6ead62 inherit pro_methods_class_qwt_plot_abstract_canvas"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4ee7c0c88d9dc5bd9d66fd3fb51ab923 inherit pro_methods_class_qwt_plot_abstract_canvas"><td class="memItemLeft" align="right" valign="top">const QWidget *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_abstract_canvas.html#a4ee7c0c88d9dc5bd9d66fd3fb51ab923">canvasWidget</a> () const</td></tr>
<tr class="separator:a4ee7c0c88d9dc5bd9d66fd3fb51ab923 inherit pro_methods_class_qwt_plot_abstract_canvas"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad38a26aca5a3b20033b34a95b97383cc inherit pro_methods_class_qwt_plot_abstract_canvas"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_abstract_canvas.html#ad38a26aca5a3b20033b34a95b97383cc">drawFocusIndicator</a> (QPainter *)</td></tr>
<tr class="separator:ad38a26aca5a3b20033b34a95b97383cc inherit pro_methods_class_qwt_plot_abstract_canvas"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2143778283984cecb89759205f454e64 inherit pro_methods_class_qwt_plot_abstract_canvas"><td class="memItemLeft" align="right" valign="top"><a id="a2143778283984cecb89759205f454e64"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_abstract_canvas.html#a2143778283984cecb89759205f454e64">drawBackground</a> (QPainter *)</td></tr>
<tr class="memdesc:a2143778283984cecb89759205f454e64 inherit pro_methods_class_qwt_plot_abstract_canvas"><td class="mdescLeft">&#160;</td><td class="mdescRight">Helper function for the derived plot canvas. <br /></td></tr>
<tr class="separator:a2143778283984cecb89759205f454e64 inherit pro_methods_class_qwt_plot_abstract_canvas"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0427d621552a00c343c6e5fc93d99162 inherit pro_methods_class_qwt_plot_abstract_canvas"><td class="memItemLeft" align="right" valign="top"><a id="a0427d621552a00c343c6e5fc93d99162"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_abstract_canvas.html#a0427d621552a00c343c6e5fc93d99162">fillBackground</a> (QPainter *)</td></tr>
<tr class="memdesc:a0427d621552a00c343c6e5fc93d99162 inherit pro_methods_class_qwt_plot_abstract_canvas"><td class="mdescLeft">&#160;</td><td class="mdescRight">Helper function for the derived plot canvas. <br /></td></tr>
<tr class="separator:a0427d621552a00c343c6e5fc93d99162 inherit pro_methods_class_qwt_plot_abstract_canvas"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa631df03151913fa349cfd7408ecadae inherit pro_methods_class_qwt_plot_abstract_canvas"><td class="memItemLeft" align="right" valign="top"><a id="aa631df03151913fa349cfd7408ecadae"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_abstract_canvas.html#aa631df03151913fa349cfd7408ecadae">drawCanvas</a> (QPainter *)</td></tr>
<tr class="memdesc:aa631df03151913fa349cfd7408ecadae inherit pro_methods_class_qwt_plot_abstract_canvas"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draw the plot to the canvas. <br /></td></tr>
<tr class="separator:aa631df03151913fa349cfd7408ecadae inherit pro_methods_class_qwt_plot_abstract_canvas"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa697dd86bc0fb1a2688f5eec6a61c570 inherit pro_methods_class_qwt_plot_abstract_canvas"><td class="memItemLeft" align="right" valign="top"><a id="aa697dd86bc0fb1a2688f5eec6a61c570"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_abstract_canvas.html#aa697dd86bc0fb1a2688f5eec6a61c570">drawStyled</a> (QPainter *, bool)</td></tr>
<tr class="memdesc:aa697dd86bc0fb1a2688f5eec6a61c570 inherit pro_methods_class_qwt_plot_abstract_canvas"><td class="mdescLeft">&#160;</td><td class="mdescRight">Helper function for the derived plot canvas. <br /></td></tr>
<tr class="separator:aa697dd86bc0fb1a2688f5eec6a61c570 inherit pro_methods_class_qwt_plot_abstract_canvas"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a377a99395d6d41b4ef5d168d3364a62b inherit pro_methods_class_qwt_plot_abstract_canvas"><td class="memItemLeft" align="right" valign="top"><a id="a377a99395d6d41b4ef5d168d3364a62b"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_abstract_canvas.html#a377a99395d6d41b4ef5d168d3364a62b">drawUnstyled</a> (QPainter *)</td></tr>
<tr class="memdesc:a377a99395d6d41b4ef5d168d3364a62b inherit pro_methods_class_qwt_plot_abstract_canvas"><td class="mdescLeft">&#160;</td><td class="mdescRight">Helper function for the derived plot canvas. <br /></td></tr>
<tr class="separator:a377a99395d6d41b4ef5d168d3364a62b inherit pro_methods_class_qwt_plot_abstract_canvas"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9642475627e053a34aa86d8eee7ee76b inherit pro_methods_class_qwt_plot_abstract_canvas"><td class="memItemLeft" align="right" valign="top">QPainterPath&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_abstract_canvas.html#a9642475627e053a34aa86d8eee7ee76b">canvasBorderPath</a> (const QRect &amp;rect) const</td></tr>
<tr class="separator:a9642475627e053a34aa86d8eee7ee76b inherit pro_methods_class_qwt_plot_abstract_canvas"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4f54ce793996e1cd2276e1d34f973205 inherit pro_methods_class_qwt_plot_abstract_canvas"><td class="memItemLeft" align="right" valign="top"><a id="a4f54ce793996e1cd2276e1d34f973205"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_plot_abstract_canvas.html#a4f54ce793996e1cd2276e1d34f973205">updateStyleSheetInfo</a> ()</td></tr>
<tr class="memdesc:a4f54ce793996e1cd2276e1d34f973205 inherit pro_methods_class_qwt_plot_abstract_canvas"><td class="mdescLeft">&#160;</td><td class="mdescRight">Update the cached information about the current style sheet. <br /></td></tr>
<tr class="separator:a4f54ce793996e1cd2276e1d34f973205 inherit pro_methods_class_qwt_plot_abstract_canvas"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Canvas of a <a class="el" href="class_qwt_plot.html" title="A 2-D plotting widget.">QwtPlot</a>. </p>
<p>Canvas is the widget where all plot items are displayed</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot.html#aea67c885034219789b360c0e624bfeaf" title="Set the drawing canvas of the plot widget.">QwtPlot::setCanvas()</a>, <a class="el" href="class_qwt_plot_g_l_canvas.html" title="An alternative canvas for a QwtPlot derived from QGLWidget.">QwtPlotGLCanvas</a>, <a class="el" href="class_qwt_plot_open_g_l_canvas.html" title="An alternative canvas for a QwtPlot derived from QOpenGLWidget.">QwtPlotOpenGLCanvas</a> </dd></dl>

<p class="definition">Definition at line <a class="el" href="qwt__plot__canvas_8h_source.html#l00029">29</a> of file <a class="el" href="qwt__plot__canvas_8h_source.html">qwt_plot_canvas.h</a>.</p>
</div><h2 class="groupheader">Member Typedef Documentation</h2>
<a id="a01ad98e778d75e157eaddfa860624565"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a01ad98e778d75e157eaddfa860624565">&#9670;&nbsp;</a></span>PaintAttributes</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef QFlags&lt;<a class="el" href="class_qwt_plot_canvas.html#a76066290edb594a71ee09be564563b0f">PaintAttribute</a> &gt; <a class="el" href="class_qwt_plot_canvas.html#a01ad98e778d75e157eaddfa860624565">QwtPlotCanvas::PaintAttributes</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>An ORed combination of <a class="el" href="class_qwt_plot_canvas.html#a76066290edb594a71ee09be564563b0f">PaintAttribute</a> values. </p>

<p class="definition">Definition at line <a class="el" href="qwt__plot__canvas_8h_source.html#l00102">102</a> of file <a class="el" href="qwt__plot__canvas_8h_source.html">qwt_plot_canvas.h</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Enumeration Documentation</h2>
<a id="a76066290edb594a71ee09be564563b0f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a76066290edb594a71ee09be564563b0f">&#9670;&nbsp;</a></span>PaintAttribute</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="class_qwt_plot_canvas.html#a76066290edb594a71ee09be564563b0f">QwtPlotCanvas::PaintAttribute</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Paint attributes. </p>
<p>The default setting enables BackingStore and Opaque.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_canvas.html#a7859beb87bcef4fd53f99e7c87104e27" title="Changing the paint attributes.">setPaintAttribute()</a>, <a class="el" href="class_qwt_plot_canvas.html#a3dc8278bd9ce9b9d801706d61e139baf">testPaintAttribute()</a> </dd></dl>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="a76066290edb594a71ee09be564563b0fa7b88a46e1414f6d904aa494c89d064f3"></a>BackingStore&#160;</td><td class="fielddoc"><p>Paint double buffered reusing the content of the pixmap buffer when possible. </p>
<p>Using a backing store might improve the performance significantly, when working with widget overlays ( like rubber bands ). Disabling the cache might improve the performance for incremental paints (using <a class="el" href="class_qwt_plot_direct_painter.html" title="Painter object trying to paint incrementally.">QwtPlotDirectPainter</a> ).</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_canvas.html#ac656d1b06a71a416a39287a612e15bc5">backingStore()</a>, <a class="el" href="class_qwt_plot_canvas.html#adafbfa908b2d3b6cf9c20aa6cf9abe27" title="Invalidate the internal backing store.">invalidateBackingStore()</a> </dd></dl>
</td></tr>
<tr><td class="fieldname"><a id="a76066290edb594a71ee09be564563b0fa1d10fbb2b1fc3323e8597597684b1f9f"></a>Opaque&#160;</td><td class="fielddoc"><p>Try to fill the complete contents rectangle of the plot canvas. </p>
<p>When using styled backgrounds Qt assumes, that the canvas doesn't fill its area completely ( f.e because of rounded borders ) and fills the area below the canvas. When this is done with gradients it might result in a serious performance bottleneck - depending on the size.</p>
<p>When the Opaque attribute is enabled the canvas tries to identify the gaps with some heuristics and to fill those only.</p>
<dl class="section warning"><dt>Warning</dt><dd>Will not work for semitransparent backgrounds </dd></dl>
</td></tr>
<tr><td class="fieldname"><a id="a76066290edb594a71ee09be564563b0fa2a2fee2c1807f8306850e15977bacb70"></a>HackStyledBackground&#160;</td><td class="fielddoc"><p>Try to improve painting of styled backgrounds. </p>
<p><a class="el" href="class_qwt_plot_canvas.html" title="Canvas of a QwtPlot.">QwtPlotCanvas</a> supports the box model attributes for customizing the layout with style sheets. Unfortunately the design of Qt style sheets has no concept how to handle backgrounds with rounded corners - beside of padding.</p>
<p>When HackStyledBackground is enabled the plot canvas tries to separate the background from the background border by reverse engineering to paint the background before and the border after the plot items. In this order the border gets perfectly antialiased and you can avoid some pixel artifacts in the corners. </p>
</td></tr>
<tr><td class="fieldname"><a id="a76066290edb594a71ee09be564563b0fa91fb95b7ec380cc5d517195c2ae6368f"></a>ImmediatePaint&#160;</td><td class="fielddoc"><p>When ImmediatePaint is set <a class="el" href="class_qwt_plot_canvas.html#a1548423348c29001ee2b6fd1c0f9f033">replot()</a> calls repaint() instead of update().</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_canvas.html#a1548423348c29001ee2b6fd1c0f9f033">replot()</a>, QWidget::repaint(), QWidget::update() </dd></dl>
</td></tr>
</table>

<p class="definition">Definition at line <a class="el" href="qwt__plot__canvas_8h_source.html#l00044">44</a> of file <a class="el" href="qwt__plot__canvas_8h_source.html">qwt_plot_canvas.h</a>.</p>

</div>
</div>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a8b0cd76cd283f8f35331dfc7543cbf89"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8b0cd76cd283f8f35331dfc7543cbf89">&#9670;&nbsp;</a></span>QwtPlotCanvas()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">QwtPlotCanvas::QwtPlotCanvas </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_qwt_plot.html">QwtPlot</a> *&#160;</td>
          <td class="paramname"><em>plot</em> = <code>NULL</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">explicit</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Constructor. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">plot</td><td>Parent plot widget </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot.html#aea67c885034219789b360c0e624bfeaf" title="Set the drawing canvas of the plot widget.">QwtPlot::setCanvas()</a> </dd></dl>

<p class="definition">Definition at line <a class="el" href="qwt__plot__canvas_8cpp_source.html#l00041">41</a> of file <a class="el" href="qwt__plot__canvas_8cpp_source.html">qwt_plot_canvas.cpp</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="ac656d1b06a71a416a39287a612e15bc5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac656d1b06a71a416a39287a612e15bc5">&#9670;&nbsp;</a></span>backingStore()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const QPixmap * QwtPlotCanvas::backingStore </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<dl class="section return"><dt>Returns</dt><dd>Backing store, might be null </dd></dl>

<p class="definition">Definition at line <a class="el" href="qwt__plot__canvas_8cpp_source.html#l00133">133</a> of file <a class="el" href="qwt__plot__canvas_8cpp_source.html">qwt_plot_canvas.cpp</a>.</p>

</div>
</div>
<a id="af21afcc5f858ab70afb589b32c856ca1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af21afcc5f858ab70afb589b32c856ca1">&#9670;&nbsp;</a></span>borderPath()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QPainterPath QwtPlotCanvas::borderPath </td>
          <td>(</td>
          <td class="paramtype">const QRect &amp;&#160;</td>
          <td class="paramname"><em>rect</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Calculate the painter path for a styled or rounded border</p>
<p>When the canvas has no styled background or rounded borders the painter path is empty.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">rect</td><td>Bounding rectangle of the canvas </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Painter path, that can be used for clipping </dd></dl>

<p class="definition">Definition at line <a class="el" href="qwt__plot__canvas_8cpp_source.html#l00320">320</a> of file <a class="el" href="qwt__plot__canvas_8cpp_source.html">qwt_plot_canvas.cpp</a>.</p>

</div>
</div>
<a id="ae00ca15406e898458ebab345e9618248"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae00ca15406e898458ebab345e9618248">&#9670;&nbsp;</a></span>drawBorder()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void QwtPlotCanvas::drawBorder </td>
          <td>(</td>
          <td class="paramtype">QPainter *&#160;</td>
          <td class="paramname"><em>painter</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Draw the border of the plot canvas</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">painter</td><td>Painter </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_abstract_canvas.html#ae0422767eac9e6d088dcccc847cf5c1a">setBorderRadius()</a> </dd></dl>

<p>Reimplemented from <a class="el" href="class_qwt_plot_abstract_canvas.html#a979b759498bc7c72943d37f4d483d93e">QwtPlotAbstractCanvas</a>.</p>

<p class="definition">Definition at line <a class="el" href="qwt__plot__canvas_8cpp_source.html#l00276">276</a> of file <a class="el" href="qwt__plot__canvas_8cpp_source.html">qwt_plot_canvas.cpp</a>.</p>

</div>
</div>
<a id="ab688a1ea4be29806793914bd2f70b0c3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab688a1ea4be29806793914bd2f70b0c3">&#9670;&nbsp;</a></span>event()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool QwtPlotCanvas::event </td>
          <td>(</td>
          <td class="paramtype">QEvent *&#160;</td>
          <td class="paramname"><em>event</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Qt event handler for QEvent::PolishRequest and QEvent::StyleChange</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">event</td><td>Qt Event </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>See QFrame::event() </dd></dl>

<p class="definition">Definition at line <a class="el" href="qwt__plot__canvas_8cpp_source.html#l00151">151</a> of file <a class="el" href="qwt__plot__canvas_8cpp_source.html">qwt_plot_canvas.cpp</a>.</p>

</div>
</div>
<a id="a0c76b4c157440e04d582776944fa63fd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0c76b4c157440e04d582776944fa63fd">&#9670;&nbsp;</a></span>paintEvent()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void QwtPlotCanvas::paintEvent </td>
          <td>(</td>
          <td class="paramtype">QPaintEvent *&#160;</td>
          <td class="paramname"><em>event</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Paint event </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">event</td><td>Paint event </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="qwt__plot__canvas_8cpp_source.html#l00178">178</a> of file <a class="el" href="qwt__plot__canvas_8cpp_source.html">qwt_plot_canvas.cpp</a>.</p>

</div>
</div>
<a id="a1548423348c29001ee2b6fd1c0f9f033"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1548423348c29001ee2b6fd1c0f9f033">&#9670;&nbsp;</a></span>replot</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void QwtPlotCanvas::replot </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">slot</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Invalidate the paint cache and repaint the canvas </p><dl class="section see"><dt>See also</dt><dd>invalidatePaintCache() </dd></dl>

<p class="definition">Definition at line <a class="el" href="qwt__plot__canvas_8cpp_source.html#l00301">301</a> of file <a class="el" href="qwt__plot__canvas_8cpp_source.html">qwt_plot_canvas.cpp</a>.</p>

</div>
</div>
<a id="a801c9beb7def26a1e51df50818e3fc45"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a801c9beb7def26a1e51df50818e3fc45">&#9670;&nbsp;</a></span>resizeEvent()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void QwtPlotCanvas::resizeEvent </td>
          <td>(</td>
          <td class="paramtype">QResizeEvent *&#160;</td>
          <td class="paramname"><em>event</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Resize event </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">event</td><td>Resize event </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="qwt__plot__canvas_8cpp_source.html#l00291">291</a> of file <a class="el" href="qwt__plot__canvas_8cpp_source.html">qwt_plot_canvas.cpp</a>.</p>

</div>
</div>
<a id="a7859beb87bcef4fd53f99e7c87104e27"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7859beb87bcef4fd53f99e7c87104e27">&#9670;&nbsp;</a></span>setPaintAttribute()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QwtPlotCanvas::setPaintAttribute </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_qwt_plot_canvas.html#a76066290edb594a71ee09be564563b0f">PaintAttribute</a>&#160;</td>
          <td class="paramname"><em>attribute</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>on</em> = <code>true</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Changing the paint attributes. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">attribute</td><td>Paint attribute </td></tr>
    <tr><td class="paramname">on</td><td>On/Off</td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_canvas.html#a3dc8278bd9ce9b9d801706d61e139baf">testPaintAttribute()</a>, <a class="el" href="class_qwt_plot_canvas.html#ac656d1b06a71a416a39287a612e15bc5">backingStore()</a> </dd></dl>

<p class="definition">Definition at line <a class="el" href="qwt__plot__canvas_8cpp_source.html#l00070">70</a> of file <a class="el" href="qwt__plot__canvas_8cpp_source.html">qwt_plot_canvas.cpp</a>.</p>

</div>
</div>
<a id="a3dc8278bd9ce9b9d801706d61e139baf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3dc8278bd9ce9b9d801706d61e139baf">&#9670;&nbsp;</a></span>testPaintAttribute()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool QwtPlotCanvas::testPaintAttribute </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_qwt_plot_canvas.html#a76066290edb594a71ee09be564563b0f">PaintAttribute</a>&#160;</td>
          <td class="paramname"><em>attribute</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Test whether a paint attribute is enabled</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">attribute</td><td>Paint attribute </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true, when attribute is enabled </dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_plot_canvas.html#a7859beb87bcef4fd53f99e7c87104e27" title="Changing the paint attributes.">setPaintAttribute()</a> </dd></dl>

<p class="definition">Definition at line <a class="el" href="qwt__plot__canvas_8cpp_source.html#l00127">127</a> of file <a class="el" href="qwt__plot__canvas_8cpp_source.html">qwt_plot_canvas.cpp</a>.</p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="class_qwt_plot_canvas.html">QwtPlotCanvas</a></li>
    <li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
  </ul>
</div>
</body>
</html>
